//
//  BaseViewController.h
//  XHNShangChengMoBan
//
//  Created by 张铁军 on 16/8/13.
//  Copyright © 2016年 ping. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseViewController : UIViewController
{
    float _kscH;
    float _kscW;
}
@property(nonatomic,assign)int b;
-(void)drawView;
-(void)drawBackButton;
-(void)drawBackButtonTwo;
-(void)drawBackTiShiButton;
-(void)drawNavWithTitle:(NSString *)Title;
-(void)drawNavWithTitle:(NSString *)Title WithColor:(UIColor*)color;
-(void)ksc;
-(void)requestData;

-(BOOL)jianCeLogin;

-(void)callWithTellNumber:(NSString *)tellNum;
- (NSString*)dictionaryToJson:(NSDictionary *)dic;
-(NSString *)requestImageStr;

-(NSString *)returnNoNullStrWith:(NSString *)str andMoRenStr:(NSString *)moRenStr;


-(NSString *)defaultPassWord;
-(void)defaultSaveUserPassWord:(NSString*)a;

//充值手机号记录
-(NSArray *)defaultChongZhiPhone;
-(void)defaultSaveChongZhiPhone:(NSArray*)a;

-(NSString *)defaultUserId;
-(void)defaultSaveUserId:(NSString*)a;

-(NSString *)defaultLoadUserName;
-(void)defaultSaveUserName:(NSString*)a;

//一元购
-(NSString *)defaultLoadUserPhone;
-(void)defaultSaveUserPhone:(NSString*)a;
@end
